package org.scribe.builder.api;

import org.scribe.model.Verb;

public class YahooApi extends DefaultApi10a {

//    @Override
//    protected Verb getRequestTokenVerb() {
//        return Verb.GET;
//    }
//
//    @Override
//    protected Verb getAccessTokenVerb() {
//        return Verb.GET;
//    }

    @Override
    protected String getAccessTokenEndpoint() {
        return "https://api.login.yahoo.com/oauth/v2/get_token";
    }

    @Override
    protected String getRequestTokenEndpoint() {
        return "https://api.login.yahoo.com/oauth/v2/get_request_token";
    }

    /**
     * Return the URL that receives the request auth requests for Browser, User auth
     *
     * @return
     */
    @Override
    protected String getRequestAuthEndpoint() {
        return "https://api.login.yahoo.com/oauth/v2/request_auth";
    }
}
